package cn.com.cifi.mars.entity.common;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 岗位组织机构数据权限表
 * </p>
 *
 * @author yyd
 * @since 2019-09-20
 */
@Data
@TableName("t_sys_position_org_data_permission")
public class SysPositionOrgDataPermission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 岗位id
     */
    @TableField("position_id")
    private String positionId;

    /**
     * 组织机构id
     */
    private String orgid;

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }
    public String getOrgid() {
        return orgid;
    }

    public void setOrgid(String orgid) {
        this.orgid = orgid;
    }

    @Override
    public String toString() {
        return "SysPositionOrgDataPermission{" +
        "id=" + id +
        ", positionId=" + positionId +
        ", orgid=" + orgid +
        "}";
    }
}
